<!--#layout("/common/layout.html",{"jsBase":"/js/finOrderChannel/finOrderChannel/"}){ -->
<div class="layui-row">
    <form id="searchForm" class="layui-form layui-form-pane">
        <div class="layui-collapse" lay-filter="condictionCol">
            <div class="layui-colla-item">
                <input type="hidden" name="channel" id="channel" value="${channel}">
                <h2 class="layui-colla-title">查询条件</h2>
                <div class="layui-colla-content layui-show">
                    <div class="layui-row">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">渠道名称</label>
                                <div class="layui-input-inline">
                                    <input type="text" name="channelName" autocomplete="off" class="layui-input">
                                </div>

                                <label class="layui-form-label">渠道代码</label>
                                <div class="layui-input-inline">
                                    <input type="text" name="channelCode" autocomplete="off" class="layui-input" id="channelCode">
                                </div>

                                <button style="float: right;" class="layui-btn layui-btn-normal" type="button" id="searchFormSearch">搜索</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>

<div class="layui-btn-group">
    <layui:accessButton function="finOrderChannel.finOrderChannel.edit" action="edit">编辑</layui:accessButton>
</div>

<table id="finOrderChannelTable" lay-filter="finOrderChannelTable"></table>
<!--#} -->
<script>
    layui.use(['index'], function () {
        var index = layui.index;
        var channel = "${channel}";
        if(channel){
            $("#channelCode").attr("readonly","readonly");
        }
        index.init();
    });

</script>
